/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package model;

import com.sun.lwuit.Image;

/**
 *
 * @author aisyah
 */
public class ItemMenu {

    public ItemMenu(String menuName, String type, int parentId) {
        this.menuName = menuName;
        this.type = type;
        this.parentId = parentId;
    }

    public ItemMenu() {
           
    }

    public ItemMenu(int id, String menuName, String type, int parentId) {
        this.id = id;
        this.menuName = menuName;
        this.type = type;
        this.parentId = parentId;
    }

    public ItemMenu(int id, String menuName, String type, Image icon, int parentId) {
        this.id = id;
        this.menuName = menuName;
        this.type = type;
        this.parentId = parentId;
        this.icon = icon;
    }

    



    private int id;
    private String menuName;
    private String type;
    private int parentId;
    private Image icon;
    /**
     * @return the id
     */
    public int getId() {
        return id;
    }

    /**
     * @param id the id to set
     */
    public void setId(int id) {
        this.id = id;
    }

    /**
     * @return the menuName
     */
    public String getMenuName() {
        return menuName;
    }

    /**
     * @param menuName the menuName to set
     */
    public void setMenuName(String menuName) {
        this.menuName = menuName;
    }

    /**
     * @return the type
     */
    public String getType() {
        return type;
    }

    /**
     * @param type the type to set
     */
    public void setType(String type) {
        this.type = type;
    }

    /**
     * @return the parentId
     */
    public int getParentId() {
        return parentId;
    }

    /**
     * @param parentId the parentId to set
     */
    public void setParentId(int parentId) {
        this.parentId = parentId;
    }

    /**
     * @return the icon
     */
    public Image getIcon() {
        return icon;
    }

    /**
     * @param icon the icon to set
     */
    public void setIcon(Image icon) {
        this.icon = icon;
    }

    
    

}
